﻿@model car.Models.User

@{
    ViewData["Title"] = "Update";
    Layout = "_Layout";
}

<h1>Update</h1>
<div class="container-fluid">
                    <div class="col-lg-6">
                        <div class="panel panel-default">
                            <div class="panel-heading">Login Form (responsive)</div>
                            <div class="panel-body" style="min-height: 214px;">
                                <form class="form-horizontal" action="@Url.Action("Updated")" method="post">
                                    <div class="form-group">
                                        <label for="inputEmail3" class="col-sm-2 control-label">id</label>
                                        <div class="col-sm-10">
                                            <input type="text" class="form-control" id="inputEmail3" placeholder="text" name="id">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="inputEmail3" class="col-sm-2 control-label">uid</label>
                                        <div class="col-sm-10">
                                            <input type="text" class="form-control" id="inputEmail3" placeholder="text" name="uid" value=@ViewData["Uid"] readonly>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="inputEmail3" class="col-sm-2 control-label">tel</label>
                                        <div class="col-sm-10">
                                            <input type="number" class="form-control" id="inputEmail3" placeholder="number" name="tel">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="inputEmail3" class="col-sm-2 control-label">age</label>
                                        <div class="col-sm-10">
                                            <input type="number" class="form-control" id="inputEmail3" placeholder="text" name="age">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="inputEmail3" class="col-sm-2 control-label">name</label>
                                        <div class="col-sm-10">
                                            <input type="text" class="form-control" id="inputEmail3" placeholder="text" name="name">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="inputPassword3" class="col-sm-2 control-label">Password</label>
                                        <div class="col-sm-10">
                                            <input type="password" class="form-control" id="inputPassword3" placeholder="Password" name="pwd">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div class="col-sm-offset-2 col-sm-10">
                                            <div class="checkbox">
                                                <label>
                                                    <input type="radio" id="sex" name="sex" value='男' checked/>
                                                    男
                                                    <br />

                                                    <input type="radio" id="sex" name="sex" value='女' />
                                                    女
                                                </label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group" style="margin-bottom:0">
                                        <div class="col-sm-offset-2 col-sm-10 text-right">
                                            <button type="submit" class="btn btn-primary">Update</button>
                                        </div>
                                    </div>
                                </form>
             <p>
                 @ViewData["Flag"]
             </p>
<div>
    <a asp-action="Index">Back to List</a>
</div>

        </div>
                        </div>
                    </div>
                    </div>
